export default class extends think.Controller {
      __before() {
            this.header("Access-Control-Allow-Origin", this.header('origin'));
            this.header("Access-Control-Allow-Headers", "Set-Cookie, Origin, X-Requested-With, Content-Type, Accept, withCredentials");
            this.header("Access-Control-Expose-Headers", "Cookie,Set-Cookie");
            this.header("Access-Control-Allow-Credentials", true);
      }
}
